<h1>Editing item</h1>

<%= error_messages_for :item %>

<% form_for(@item, :url => item_path(@list, @item)) do |f| %>
  <p>
    <b>Description</b><br />
    <%= f.text_area :description %>
  </p>

  <p>
    <%= f.submit "Update" %>
  </p>
<% end %>

<%= link_to 'Show', item_path(@list, @item) %> |
<%= link_to 'Back', items_path(@list) %>
